package assign1;

/**
 *
 * @author kevin louis
 */
/**class about lane,probability and simulation cycle */
public class ProjModel {

    private int horLanes;
    private int verLanes;
    private int gridSize;
    private double horProb;
    private double verProb;
    private int cycleNum;
/** projmodel constructor*/
    public ProjModel() {
        horLanes = 1;
        verLanes = 1;
        gridSize = 24;
        horProb = 0.0;
        verProb = 0.0;
        cycleNum = 0;
    }
/**getter for horizontal lane */
    public int gethorLanes() {
        return horLanes;
    }
/**setter for horizontal lane*/
    public void sethorLanes(int horiLanes) {
        horLanes = horiLanes;
    }
/**getter for vertical lane */
    public int getverLanes() {
        return verLanes;
    }
/**setter for vertical lane */
    public void setverLanes(int vertLanes) {
        verLanes = vertLanes;
    }
/**getter for grid size */
    public int getGridsize() {
        return gridSize;
    }
/**setter for grid size*/
    public void setGridsize(int gridSize) {
        this.gridSize = gridSize;
    }
/**getter for horizontal probability */
    public double getHorProb() {
        return horProb;
    }
/**setter for horizontal probability*/
    public void setHorProb(double horProb) {
        this.horProb = horProb;
    }
/**getter for vertical probability */
    public double getVerProb() {
        return verProb;
    }
/**setter for vertical probability*/
    public void setVerProb(double verProb) {
        this.verProb = verProb;
    }
/**getter for  simulation cycle*/
    public int getCycleNum() {
        return cycleNum;
    }
/**setter for simulation cycle*/
    public void setCycleNum(int addCycleNum) {
        this.cycleNum = this.cycleNum + addCycleNum;
    }
}
